imx: ventana: fix boot to SD
authorTim Harvey <[email protected]>
Wed, 6 May 2015 20:16:56 +0000 (13:16 -0700)
committerStefano Babic <[email protected]>
Fri, 15 May 2015 17:20:48 +0000 (19:20 +0200)
commitd783c2744f9b04426f21e1afc4f3bc93fd21fa30
treeaa5b11e702ab5e48958c28a6d72d778e5af39905
parent98a49e534026b70e75107877fc727fc70da58349
imx: ventana: fix boot to SD

This fixes a regression caused by e25fbe3fe531029dc7b100ea4c79dbc802e17fc2
(gw_ventana: Move the DCD settings to spl code)

The clock gating must be setup prior to calling arch_cpu_init(). Without this
booting to SD (directly via eFuse or via bmode) will hang.

Cc: Fabio Estevam <[email protected]>
Signed-off-by: Tim Harvey <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
board/gateworks/gw_ventana/gw_ventana_spl.c